package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.entity.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Insert;

@org.apache.ibatis.annotations.Mapper
public interface Mapper {
    @Insert("INSERT INTO product(title,price,stock)values(#{title},#{price},#{stock})")
    int insertShop(Product product);
}
